<!--#include file="common_top.html"-->

<header class="dux-index-header">

    <div class="uk-container">
        <div class="uk-grid uk-grid-collapse">
            <div class="uk-width-1-2 header-logo">
                <h1>
                    <a href="{url('index/index/index')}">
                        <img src="images/header-logo.svg" alt="{$site.info_name}">
                        {$site.info_name}
                    </a>
                </h1>
            </div>

            <div class="uk-width-1-2 header-search uk-text-right">
                <form class="uk-search uk-search-default" action="{url('mall/Search/index')}">
                    <button type="submit" class="uk-search-icon-flip" uk-search-icon></button>
                    <input name="keyword" class="uk-search-input" type="search" placeholder="请输入商品名称..." value="{$_GET.keyword}">
                </form>
            </div>

        </div>
    </div>
</header>

<nav class="dux-nav">
    <div class="uk-container">
        <ul class="nav-list uk-clearfix">
            <li class="active">
                <a href="/">首页</a>
            </li>
            <!--list{app="mall" label="classTreeList" parent_id=0 limit=20}-->
            <li>
                <div class="uk-inline">
                    <a href="{$list.url}">{$list.name}</a>
                    <div class="nav-sub" uk-dropdown>
                        <ul class="uk-clearfix">
                            <!--loop{$list.children as $k => $vo}-->
                            <!--if{$k >= 8}-->
                            <?php break; ?>
                            <!--{/if}-->
                            <li>
                                <a href="{$vo.url}">
                                    <img src="{$vo.image}" alt="">
                                    <p>{$vo.name}</p>
                                </a>
                            </li>
                            <!--{/list}-->
                        </ul>
                    </div>

                </div>

            </li>
            <!--{/list}-->
        </ul>
    </div>
</nav>